﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace F2S.LINQ2LinkedIn.Model
{
    [DebuggerDisplay("Name={Name}, Country={Country}")]
    [XmlRoot("location")]
    public class Location
    {
        [XmlElement(ElementName = "name")]
        public string Name { get; set; }

        [XmlElement(ElementName = "country")]
        public Country Country { get; set; }

        public override string ToString()
        {
            return string.Format("Name={0} Country={1}", Name, Country);
        }
    }
}
